
<script lang="ts" setup>
import {onMounted} from 'vue'
import {getUserInfo} from "@/service/api/login/login"
import {Starport} from 'vue-starport'
import MyAvatar from '@/components/avatar.vue'
onMounted(() => {
  getUserInfo.getUserInfo('').then(res => {
    console.log(res)
  })
})
</script>
<template>
  <div>
    <Starport port="my-id">
      <MyAvatar height='600' width='600' src="https://picsum.photos/id/699/600/600"/>
    </Starport>
  </div>
</template>
<style scoped>

</style>
